package net.qhzw.vip.qiyu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import net.qhzw.vip.qiyu.entity.GuaranteeUser;
import net.qhzw.vip.qiyu.model.GuaranteeUserQuery;

import java.util.Map;

public interface GuaranteeUserService extends IService<GuaranteeUser> {

    /***
     * 分页查询站点用户
     * @param page
     * @return
     */
    Map<String, Object> findByPage(Page<GuaranteeUser> page, Long shopId, GuaranteeUserQuery query);

    /***
     * 发送短信通知
     * @param guaranteeUser
     */
    void sendMsg(GuaranteeUser guaranteeUser);


    void disableGuarantee(String idCard);


}
